package com.jkxt.dao;

import java.util.List;
import java.util.Map;

import com.jkxt.model.Record;

public interface RecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Record record);

    int insertSelective(Record record);

    Record selectByPrimaryKey(Integer id);

    Record selectByUserIdAndId(Record record);
    
    List<Record> selectByUserId(Map map);
    
    int countByUserId(Map map);

    int updateByIdAndUserId(Record record);
    
    int updateByPrimaryKeySelective(Record record);

    int updateByPrimaryKeyWithBLOBs(Record record);

    int updateByPrimaryKey(Record record);
}